<%@ page import="sun.misc.Request" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/31
  Time: 14:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更改用户</title>
</head>
<body>
<%
 String id= request.getParameter("id");
%>
<script type="text/javascript">


    function form() {
        var x=document.forms["myforms"]["username"].value;
        var y=document.forms["myforms"]["password"].value;
        if (x == null ||y == null||x==""||y=="") {
            alert("账户名,密码");
            return false;
        }
        else
            return true;
    }
</script>
<form method="post" action="Update1.jsp" name="myforms" onsubmit="return form()">
    <input name="id"  type="text" value="<%=id%>" style="display: none"></br>
    用户名：<input name="username"  type="text" placeholder="请输入用户名"></br>
    密码: <input name="password" type="text" placeholder="请输入用户名密码"></br>
    <input type="submit" value="修改">
</form>
</body>
</html>
